Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reason is optional in HTTP2 #1550

Merged
merged 1 commit into from
Dec 19, 2021
Merged

Reason is optional in HTTP2 #1550

merged 1 commit into from
Dec 19, 2021

Conversation

vitalijr2
Copy link
Collaborator

@vitalijr2 vitalijr2 commented Dec 19, 2021

Fixes #1382

See comment on Response#reason(): Nullable and not set when using http/2

The current implementation returns OK if the reason is not present and the reason header is not present too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java 11 Http2Client Returns "OK" Status Message on 4XX Responses
2 participants